package javavean;
///这是实体类的书写方法，且实体类只是一个简单的存储数据
public class Student {
       private  String name;
       private  double score;

      public Student(){

      }

       public void setName(String name) {
              this.name = name;
       }

       public String getName() {
              return name;
       }

       public void setScore(double score) {
              this.score = score;
       }

       public double getScore() {
              return score;
       }
}
